#include	"ZiaServerWin.h"
#include	"XmlParser.hpp"
#include	<fstream>
#include	"RequestParser.hpp"
#include	"ManipList.hpp"
#include	<utility>
#include	"traitThread.hpp"

using namespace	std;

ManipList<std::pair<std::string, int> >		msgList;

int	main()
{
	ZiaServerWin	test;
	myThread		var;
	Thread::create(&var, TraitLoop, NULL);
	test.LaunchServ();

	Thread::waitSingle(&var);

	/*XmlParser		conf;WORK WELL

	cout << conf.parseFile() << endl;
	conf.setFile("Test.txt");
	cout << conf.getFile().c_str() << endl;
	cout << conf.parseFile() << endl;*/
	
	return (0);
}